.page {
	min-height: calc(100vh - 20rpx);
	padding-bottom: 20rpx;
	background: #3F51B5;

	.tab {
		width: 700rpx;
		margin: auto;
		display: flex;
		justify-content: center;
		align-items: flex-end;
		padding: 25rpx;

		text {
			display: block;
			width: 120rpx;
			height: 60rpx;
			line-height: 60rpx;
			text-align: center;
			color: #fff;
			font-size: 14px;
		}

		.tab-active {
			font-size: 16px;
			font-weight: bold;
			position: relative;

			&::after {
				content: '';
				width: 40rpx;
				height: 6rpx;
				border-radius: 4rpx;
				background: #fff;
				position: absolute;
				left: 40rpx;
				bottom: 0;
			}
		}

	}

	.ranking {
		width: 700rpx;
		border-radius: 30rpx;
		margin: auto;
		box-sizing: border-box;
		padding: 20rpx;

		.rangking-title {
			display: flex;
			font-size: 12px;
			color: #f0f0f0;
			height: 50rpx;
			line-height: 50rpx;

			text {
				display: block;
				width: 100rpx;
				text-align: center;

				&:nth-child(2) {
					box-sizing: border-box;
					padding-left: 20rpx;
					text-align: left;
					width: calc(100% - 200rpx);
				}
			}
		}

		.ranking-list-item {
			height: 110rpx;
			border-radius: 20rpx;
			display: flex;
			align-items: center;
			font-size: 14px;
			background: rgba(255, 255, 255, 0.7);
			margin: 16rpx 0;
			justify-content: space-between;

			&:nth-child(1) {
				background: #efb300;
			}

			&:nth-child(2) {
				background: #b4b0b0;
			}

			&:nth-child(3) {
				background: #e37d19;
			}

			.ranking-list-number {
				width: 100rpx;
				color: #777;
				display: flex;
				justify-content: center;

				image {
					width: 50rpx;
					height: 50rpx;
				}
			}

			.ranking-list-score {
				display: block;
				// width: 100rpx;
				color: #555;
				font-size: 16px;
				text-align: center;
				margin-right: 20rpx;
			}

			.ranking-list-nickname {
				display: flex;
				align-items: center;
				width: calc(100% - 200rpx);
				box-sizing: border-box;
				padding-left: 20rpx;

				image {
					width: 80rpx;
					height: 80rpx;
					border-radius: 50%;
					margin-right: 20rpx;
				}

				.rank_index {
					width: 100rpx;
				}

				text {
					width: auto;
				}
			}
		}
	}
}